<su-form action="<%= form_path([:admin, @order]) %>"
         method="post"
         :init-fields="{authenticity_token: '<%= form_authenticity_token %>'}">
  <input name="utf8" type="hidden" value="✓">
  <input type="hidden" name="_method" value="<%= form_method @order %>">

  <%= form_validate @order %>
  <su-input type="text" label='<%= t "activerecord.attributes.order.sr" %>' required autofocus name="order[sr]" value="<%= @order.sr %>"></su-input>
  <su-input type="text" label='<%= t "activerecord.attributes.order.name" %>' name="order[name]" value="<%= @order.name %>"></su-input>
  <su-input type="text" label='<%= t "activerecord.attributes.order.phone" %>' name="order[phone]" value="<%= @order.phone %>"></su-input>


  <div class="clearfix form-actions">
    <%= render partial: 'shared/form/new_actions', locals: {options: {back_url: admin_orders_path}} %>
  </div>
</su-form>